from ftp_server import ServerFtp

server = ServerFtp()

while True:
    events = server.sel.select()
    for key, mask in events:
        callback = key.data
        callback(key.fileobj, mask)

